{% extends 'kingadmin/index.html' %}

{% block right-content-container %}
    <ol class="breadcrumb">
        <li><a href="{% url 'kingadmin:index' %}">KingAdmin</a></li>
        <li class="active">修改密码</li>
    </ol>
    <form style="width: 400px;margin: 0 auto;" method="post">{% csrf_token %}
        {% for field in form %}
            <div class="form-group">
                <label>{{ field.label }}</label>
                {{ field }}
                <span style="color: red;">{{ field.errors }}</span>
            </div>
        {% endfor %}
        <button style="margin-top: 20px;" type="submit" class="btn btn-primary">提交</button>
    </form>
{% endblock %}